import request from "@/util/request";
enum API {
    SCENE = "/file/scene",
    SCENE_LIST = "/file/scene/list",
}
export function reqCreateScene(data){
    return request({
        url: API.SCENE,
        method: "post",
        data,
    });
}
export function reqGetSceneList(){
    return request({
        url: API.SCENE_LIST,
        method: "get",
    });
}
export function reqUpdateScene(data: any){
    return request({
        url: API.SCENE,
        method: "put",
        data
    });
}
export function reqDeleteScene(id: string){
    return request({
        url: API.SCENE+"/"+id,
        method: "delete",
    });
}
